.container {
  display: block;
  position: relative;
  width: 100%;
}

.container + .container {
  margin-top: 1rem;
}

.input {
  background: var(--color-background);
  color: var(--color-text);
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0.5rem 0.75rem;
  border-width: 1px;
  border-radius: 0.375rem;
  border-color: var(--color-input);
  line-height: 18px;
  width: 100%;
  display: block;
  transition: 0.2s ease border-color;
  -webkit-font-smoothing: antialiased;
}

.input.lg {
  font-size: 1rem;
  padding: 0.75rem 1rem;
}

.input.rounded {
  border-radius: 9999px;
}

.input::placeholder {
  color: var(--color-gray-400);
}

.input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.icon {
  align-items: center;
  color: var(--color-gray-400);
  display: flex;
  height: 36px;
  left: 0;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 36px;
}

.icon.lg {
  height: 44px;
  width: 44px;
}

.icon + .input {
  padding-left: 32px;
}

.icon.lg + .input {
  padding-left: 40px;
}

.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
